package com.yanqu.road.server.cmd.zhaoshang;

import com.yanqu.road.server.cmd.CrossCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.manager.zhaoshang.ZsMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.protocol.CrossProtocol;

@Cmd(code = CrossProtocol.C2_ZHAO_SHANG_SYNC_RED_DOT, desc = "奖励红点")
public class ZsProjectRedDotCmd extends CrossCommand {

    @Override
    public boolean parseData(YanQuMessage packet) throws Exception {
        return true;
    }

    @Override
    public void execute(YanQuMessage packet) throws Exception {
        ZsMgr.syncRedDot(serverId, packet.getPlayerId());
    }

    @Override
    public void sendData() {

    }

}
